package com.neusoft.elmboot.mapper;

import java.math.BigDecimal;
import java.util.List;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import com.neusoft.elmboot.po.IntegralTrans;

@Mapper
public interface IntegralTransMapper {
	
	@Insert("insert into integralTrans values(null, #{userId}, #{type}, #{count}, #{time})")
	public int saveIntegralTrans(IntegralTrans integralTrans);
	
	public List<IntegralTrans> listIntergralTransByUserId(String userId);
}
